<div class="box box-solid box-danger">
	<div class="box-header">
		<h3 class="box-title">Featured Employers</h3>
	</div>
	<div class="box-body">
		<div class="row">
		<div class="col-xs-12">
			<?php
					foreach($feature_employers->result() as $feature_employer){
						$company_id=$feature_employer->company_id;
						$copany_name=$feature_employer->company_name;
                        $company_link = $feature_employer->using_link_type_id === '1' ? 0 : 1; /*0 = job_ads, 1= External link*/
                        $employer_key = $feature_employer->token_key;
						$banner=$feature_employer->img_name;
						$banner_db=explode('.', $banner);
						$banner_img=$banner_db[0]."_thumb.".$banner_db[1];
				?>
						<div class="col-xs-3 fearture-employer-banner">
							<a target="_blank" title="<?php echo $copany_name;?>" href="<?php echo $company_link===0 ? base_url().'companies/profile/'.$employer_key : $feature_employer->link ;?>"  target="<?php echo  $company_link===1 ? "_blank": "_self"; ?>" >
								<div class="contain-img-feature"> 
									<img src="<?php echo base_url() . F_IMG.'employer_banner/'.$banner_img; ?>" alt="<?php echo $copany_name; ?>" title="<?php echo $copany_name; ?>" />
								</div>
							</a>
						</div>
				<?php
					}
				?>
		</div>
		
		</div>
	</div><!-- /.box-body -->
</div><!-- /.box -->

